//
//  FileUploadManager.m
//  JPWords
//
//  Created by 梁淑婷 on 2024/6/13.
//

#import "FileUploadManager.h"

@implementation FileUploadManager

- (NSString *)methodName{
    return @"/file/upload";
}

- (JPAPIManagerRequestType)requestType{
    return JPAPIManagerRequestTypePOSTFile;
}

#pragma mark - JPAPIManagerParamSource
- (NSDictionary *)paramsForApi:(JPAPIBaseManager *)manager{
    return @{@"url":self.file,@"file":@"file"};
}

@end
